package Generic;

import java.sql.SQLOutput;

public class Generic<E> {
    private E name;

    public E getName() {
        return name;
    }

    public void setName(E name) {
        this.name = name;
    }
    public <M> void method1(M m)
    {
        System.out.println(m);
    }
    public static <S> void method2(S s)
    {
        System.out.println(s);
    }
}
